package org.lds.ers.server.model;

import java.util.Date;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.users.User;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Resume {
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
	
    @Persistent
    private Long ward_id; //支分會編號

    @Persistent
    private String name;	//姓名
    
    @Persistent
    private String gender;	//性別

    @Persistent
    private String home_phone;	//tel_home

    @Persistent
    private String cell_phone;	//手機號碼

    @Persistent
    private String edu_degree;	//最高教育程度
    
    @Persistent
    private String edu_dept;	//科系

    @Persistent
    private String current_job_category;	//目前工作類別

    @Persistent
    private String current_company;	//公司行號名稱

    @Persistent
    private String current_job;	//目前職稱

    @Persistent
    private String current_job_description;	//工作內容簡述

    @Persistent
    private Date start_date;	//起始日

    @Persistent
    private Date end_date;	//離職日

    @Persistent
    private String job_experiences;	//曾經擔任之名稱(兩年以上之經歷)

    @Persistent
    private String remark;	//備註

    @Persistent
    private Date lastUpdate;	//最後修改時間

    @Persistent
    private String update_by;	//被誰修改
    
    public Resume(Long ward_id, String name, String gender,
			String homePhone, String cellPhone, String eduDegree,
			String eduDept, String currentJobCategory, String currentCompany,
			String currentJob, String currentJobDescription,
			Date startDate, Date endDate, String jobExperiences,
			String remark, Date lastUpdate, String updateBy)
	{
    	this.ward_id = ward_id;
    	this.name = name;
    	this.gender = gender;
    	this.home_phone = homePhone;
    	this.cell_phone = cellPhone;
    	this.edu_degree = eduDegree;
    	this.edu_dept = eduDept;
    	this.current_job_category = currentJobCategory;
    	this.current_company = currentCompany;
    	this.current_job = currentJob;
    	this.current_job_description = currentJobDescription;
    	this.start_date = startDate;
    	this.end_date = endDate;
    	this.job_experiences = jobExperiences;
    	this.remark = remark;
    	this.lastUpdate = lastUpdate;
    	this.update_by = updateBy;
    	
	}
    
	
	public void setId(Long id)
	{
		this.id = id;
	}
	public Long getId()
	{
		return this.id ;
	}

	public void setWardId(Long ward_id)
	{
		this.ward_id = ward_id;
	}
	public Long getWardId()
	{
		return this.ward_id ;
	}
    
	public void setName(String name)
	{
		this.name = name;
	}
	public String getName()
	{
		return this.name ;
	}
    
	public void setGender(String gender)
	{
		this.gender = gender;
	}
	public String getGender()
	{
		return this.gender ;
	}
	
	
    public void setHomePhone(String homePhone)
	{
		this.home_phone = homePhone;
	}
	public String getHomePhone()
	{
		return this.home_phone ;
	}
	
    public void setCellPhone(String cellPhone)
	{
		this.cell_phone = cellPhone;
	}
	public String getCellPhone()
	{
		return this.cell_phone ;
	}
	
    public void setEduDegree(String eduDegree)
	{
		this.edu_degree = eduDegree;
	}
	public String getEduDegree()
	{
		return this.edu_degree ;
	}
	
    public void setEduDept(String eduDept)
	{
		this.edu_dept = eduDept;
	}
	public String getEduDept()
	{
		return this.edu_dept ;
	}
	
    public void setCurrentJobCategory(String currentJobCategory)
	{
		this.current_job_category = currentJobCategory;
	}
	public String getCurrentJobCategory()
	{
		return this.current_job_category ;
	}
	
    public void setCurrentCompany(String currentCompany)
	{
		this.current_company = currentCompany;
	}
	public String getCurrentCompany()
	{
		return this.current_company ;
	}
	
    public void setCurrentJob(String currentJob)
	{
		this.current_job = currentJob;
	}
	public String getCurrentJob()
	{
		return this.current_job ;
	}
	
    public void setCurrentJobDescription(String currentJobDescription)
	{
		this.current_job_description = currentJobDescription;
	}
	public String getCurrentJobDescription()
	{
		return this.current_job_description ;
	}
        
    public void setStartDate(Date start_date)
	{
		this.start_date = start_date;
	}
	public Date getStartDate()
	{
		return this.start_date ;
	}
       
    public void setEndDate(Date end_date)
	{
		this.end_date = end_date;
	}
	public Date getEndDate()
	{
		return this.end_date ;
	}

    public void setJobExperiences(String jobExperiences)
	{
		this.job_experiences = jobExperiences;
	}
	public String getCurrentJobExperiences()
	{
		return this.job_experiences ;
	}
	
    public void setRemark(String remark)
	{
		this.remark = remark;
	}
	public String getRemark()
	{
		return this.remark ;
	}
	
    public void setLastUpdate(Date last_date)
	{
		this.lastUpdate = last_date;
	}
	public Date getLastUpdate()
	{
		return this.lastUpdate ;
	}
	
    public void setUpdateBy(String updateBy)
	{
		this.update_by = updateBy;
	}
	public String getUpdateBy()
	{
		return this.update_by ;
	}
	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
}







